package psico_test.utils.sounds;

import java.io.File;
import java.util.Vector;

import psico_test.utils.file.FileManager;

public class SoundManager 
{
	public static SoundManager instance;
	//El vector sonidos contiene todos los sonidos wav o mp3 de la carpeta sonidos en Objetos tipo File
	private static Vector sonidos;
	
	public static SoundManager getInstance()
	{
		if(instance == null)
			instance = new SoundManager();
		return instance;
	}
	
	private SoundManager()
	{
		sonidos = FileManager.getInstance().getSonidos();
	}
	
	public static Vector getSonidos()
	{
		return sonidos;
	}
	
	public static void addSonido(File f)
	{
		sonidos.add(f);
	}
}
